c77be45fc3512c26d48cd5baa12c8cbe80014c97,findbugs/src/java/edu/umd/cs/findbugs/detect/FindRefComparison.java,FindRefComparison,checkEqualsComparison,#Location#JavaClass#Method#MethodGen#ConstantPoolGen#TypeDataflow#,1013

Before Change


		} else if (result != IncompatibleTypes.UNCHECKED && result.getPriority() <= Priorities.LOW_PRIORITY) {
			bugAccumulator.accumulateBug(new BugInstance(this, "EC_UNRELATED_TYPES", result.getPriority() + priorityModifier)
			.addClassAndMethod(methodGen, sourceFile)
			.addFoundAndExpectedType(rhsType_, lhsType_),
			SourceLineAnnotation.fromVisitedInstruction(this.classContext, methodGen, sourceFile, location.getHandle()));
		}

After Change


		} else if (result != IncompatibleTypes.UNCHECKED && result.getPriority() <= Priorities.LOW_PRIORITY) {
			bugAccumulator.accumulateBug(new BugInstance(this, "EC_UNRELATED_TYPES", result.getPriority() + priorityModifier)
			.addClassAndMethod(methodGen, sourceFile)
			.addFoundAndExpectedType(rhsType_, lhsType_)
			.addSomeSourceForTopTwoStackValues(classContext, method, location),
			SourceLineAnnotation.fromVisitedInstruction(this.classContext, methodGen, sourceFile, location.getHandle()));
		}